package com.charley.icloud.admin.webapps.sysrole.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.charley.icloud.admin.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 类说明 角色菜单中间表
 *
 * @author charley
 * @date 2024-04-24 13:23
 */
@Data
@TableName("sys_role_menu")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class SysRoleMenu extends BaseEntity implements Serializable {

    private static final long serialVersionUID = -5886012896705137176L;

    @TableField(value = "role_id")
    private Long roleId;

    @TableField(value = "menu_id")
    private Long menuId;

}
